package com.levenx.service;

import com.levenx.vo.Result;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

/**
 * 文件公用
 */
public interface FileService {

    Result<?> upload(MultipartFile file);


    ResponseEntity<?> getFile(String fileName);

    Result<?> list();

    Result<?> del(String name);
}
